﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomeMasterPage.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link rel="stylesheet" type="text/css" href="<%=ResolveUrl("~/") %>resources/listtop.css"
        media="screen" />
    <!--[if IE 6]>
<script type="text/javascript">document.execCommand("BackgroundImageCache", false, true);</script>
<![endif]-->
    <script language="javascript"> 
<!--
        window.onerror = function () { return true; } 
--> 
    </script>
    <link rel="stylesheet" type="text/css" href="<%=ResolveUrl("~/") %>resources/mu.css"
        media="screen" />
    <script language="javascript" src="<%=ResolveUrl("~/") %>resources/t.js"></script>
    <script language="javascript">
        var d0 = new Date();
        var timePoints = new Array();
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <amv:SlidingView runat="server" />
    <div class="container_25 clearfix">
        <div class="grid_17">
            <amv:MusicRecommandView runat="server" DataSourceID="srcMusicRecommand"></amv:MusicRecommandView>
            <amv:MusicRecommandView runat="server" DataSourceID="srcMusicRecommand"></amv:MusicRecommandView>
            <amv:MusicRecommandView runat="server" DataSourceID="srcMusicRecommand"></amv:MusicRecommandView>
<%--            <asp:SqlDataSource ID="srcMusicRecommand" runat="server" ConnectionString="<%$ AppSettings:amvdb %>"
                SelectCommand="SELECT TOP(6) * FROM [Music]"></asp:SqlDataSource>--%>
            <asp:ObjectDataSource ID="srcMusicRecommand" runat="server" 
                SelectMethod="GetListByPage" TypeName="AMV.BLL.Music">
                <SelectParameters>
                    <asp:Parameter DefaultValue=" " Name="strWhere" Type="String" />
                    <asp:Parameter DefaultValue=" " Name="orderby" Type="String" />
                    <asp:Parameter DefaultValue="1" Name="startIndex" Type="Int32" />
                    <asp:Parameter DefaultValue="6" Name="endIndex" Type="Int32" />
                </SelectParameters>
            </asp:ObjectDataSource>
        </div>
        <div class="grid_8">
            <amv:MusicIndexer ID="MusicIndexer1" runat="server"></amv:MusicIndexer>
            <amv:HotMusicList ID="HotMusicList1" runat="server"></amv:HotMusicList>
        </div>
    </div>
</asp:Content>
